package com.sugon.webservice.service;

import com.sugon.webservice.entity.ExternalTabRelationEntity;
import com.sugon.webservice.entity.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "sjml-server")
public interface XyDataService {
//    @ApiOperation("根据注册的单位名称获取统计信息")
    @PostMapping("/access/table/relation2/{catalogId}")
    public Result<ExternalTabRelationEntity> detail2(@PathVariable("catalogId") String catalogId);

//    @ApiOperation("根据注册的单位名称获取计数信息")
//    @PostMapping("/methodInfoServer/getApiCountInfoByRegisterUnit")
//    public Result<ApiCountInfoDTO> getApiCountInfoByRegisterUnit(@RequestBody ApiCountQuery apiCountQuery);
}
